package com.niiwoo.civet.account.dao.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WithholdProtocolApplyOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WithholdProtocolApplyOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(Long value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(Long value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(Long value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(Long value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(Long value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(Long value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<Long> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<Long> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(Long value1, Long value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(Long value1, Long value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdIsNull() {
            addCriterion("bank_card_id is null");
            return (Criteria) this;
        }

        public Criteria andBankCardIdIsNotNull() {
            addCriterion("bank_card_id is not null");
            return (Criteria) this;
        }

        public Criteria andBankCardIdEqualTo(Long value) {
            addCriterion("bank_card_id =", value, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdNotEqualTo(Long value) {
            addCriterion("bank_card_id <>", value, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdGreaterThan(Long value) {
            addCriterion("bank_card_id >", value, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdGreaterThanOrEqualTo(Long value) {
            addCriterion("bank_card_id >=", value, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdLessThan(Long value) {
            addCriterion("bank_card_id <", value, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdLessThanOrEqualTo(Long value) {
            addCriterion("bank_card_id <=", value, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdIn(List<Long> values) {
            addCriterion("bank_card_id in", values, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdNotIn(List<Long> values) {
            addCriterion("bank_card_id not in", values, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdBetween(Long value1, Long value2) {
            addCriterion("bank_card_id between", value1, value2, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andBankCardIdNotBetween(Long value1, Long value2) {
            addCriterion("bank_card_id not between", value1, value2, "bankCardId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdIsNull() {
            addCriterion("pay_channel_id is null");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdIsNotNull() {
            addCriterion("pay_channel_id is not null");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdEqualTo(Long value) {
            addCriterion("pay_channel_id =", value, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdNotEqualTo(Long value) {
            addCriterion("pay_channel_id <>", value, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdGreaterThan(Long value) {
            addCriterion("pay_channel_id >", value, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdGreaterThanOrEqualTo(Long value) {
            addCriterion("pay_channel_id >=", value, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdLessThan(Long value) {
            addCriterion("pay_channel_id <", value, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdLessThanOrEqualTo(Long value) {
            addCriterion("pay_channel_id <=", value, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdIn(List<Long> values) {
            addCriterion("pay_channel_id in", values, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdNotIn(List<Long> values) {
            addCriterion("pay_channel_id not in", values, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdBetween(Long value1, Long value2) {
            addCriterion("pay_channel_id between", value1, value2, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andPayChannelIdNotBetween(Long value1, Long value2) {
            addCriterion("pay_channel_id not between", value1, value2, "payChannelId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRequestNoIsNull() {
            addCriterion("request_no is null");
            return (Criteria) this;
        }

        public Criteria andRequestNoIsNotNull() {
            addCriterion("request_no is not null");
            return (Criteria) this;
        }

        public Criteria andRequestNoEqualTo(String value) {
            addCriterion("request_no =", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotEqualTo(String value) {
            addCriterion("request_no <>", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoGreaterThan(String value) {
            addCriterion("request_no >", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoGreaterThanOrEqualTo(String value) {
            addCriterion("request_no >=", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoLessThan(String value) {
            addCriterion("request_no <", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoLessThanOrEqualTo(String value) {
            addCriterion("request_no <=", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoLike(String value) {
            addCriterion("request_no like", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotLike(String value) {
            addCriterion("request_no not like", value, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoIn(List<String> values) {
            addCriterion("request_no in", values, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotIn(List<String> values) {
            addCriterion("request_no not in", values, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoBetween(String value1, String value2) {
            addCriterion("request_no between", value1, value2, "requestNo");
            return (Criteria) this;
        }

        public Criteria andRequestNoNotBetween(String value1, String value2) {
            addCriterion("request_no not between", value1, value2, "requestNo");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyIsNull() {
            addCriterion("expect_pay_company is null");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyIsNotNull() {
            addCriterion("expect_pay_company is not null");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyEqualTo(String value) {
            addCriterion("expect_pay_company =", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyNotEqualTo(String value) {
            addCriterion("expect_pay_company <>", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyGreaterThan(String value) {
            addCriterion("expect_pay_company >", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("expect_pay_company >=", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyLessThan(String value) {
            addCriterion("expect_pay_company <", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyLessThanOrEqualTo(String value) {
            addCriterion("expect_pay_company <=", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyLike(String value) {
            addCriterion("expect_pay_company like", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyNotLike(String value) {
            addCriterion("expect_pay_company not like", value, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyIn(List<String> values) {
            addCriterion("expect_pay_company in", values, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyNotIn(List<String> values) {
            addCriterion("expect_pay_company not in", values, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyBetween(String value1, String value2) {
            addCriterion("expect_pay_company between", value1, value2, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andExpectPayCompanyNotBetween(String value1, String value2) {
            addCriterion("expect_pay_company not between", value1, value2, "expectPayCompany");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoIsNull() {
            addCriterion("platform_user_no is null");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoIsNotNull() {
            addCriterion("platform_user_no is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoEqualTo(String value) {
            addCriterion("platform_user_no =", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotEqualTo(String value) {
            addCriterion("platform_user_no <>", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoGreaterThan(String value) {
            addCriterion("platform_user_no >", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoGreaterThanOrEqualTo(String value) {
            addCriterion("platform_user_no >=", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoLessThan(String value) {
            addCriterion("platform_user_no <", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoLessThanOrEqualTo(String value) {
            addCriterion("platform_user_no <=", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoLike(String value) {
            addCriterion("platform_user_no like", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotLike(String value) {
            addCriterion("platform_user_no not like", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoIn(List<String> values) {
            addCriterion("platform_user_no in", values, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotIn(List<String> values) {
            addCriterion("platform_user_no not in", values, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoBetween(String value1, String value2) {
            addCriterion("platform_user_no between", value1, value2, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotBetween(String value1, String value2) {
            addCriterion("platform_user_no not between", value1, value2, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPrepareIdIsNull() {
            addCriterion("prepare_id is null");
            return (Criteria) this;
        }

        public Criteria andPrepareIdIsNotNull() {
            addCriterion("prepare_id is not null");
            return (Criteria) this;
        }

        public Criteria andPrepareIdEqualTo(String value) {
            addCriterion("prepare_id =", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdNotEqualTo(String value) {
            addCriterion("prepare_id <>", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdGreaterThan(String value) {
            addCriterion("prepare_id >", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdGreaterThanOrEqualTo(String value) {
            addCriterion("prepare_id >=", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdLessThan(String value) {
            addCriterion("prepare_id <", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdLessThanOrEqualTo(String value) {
            addCriterion("prepare_id <=", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdLike(String value) {
            addCriterion("prepare_id like", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdNotLike(String value) {
            addCriterion("prepare_id not like", value, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdIn(List<String> values) {
            addCriterion("prepare_id in", values, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdNotIn(List<String> values) {
            addCriterion("prepare_id not in", values, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdBetween(String value1, String value2) {
            addCriterion("prepare_id between", value1, value2, "prepareId");
            return (Criteria) this;
        }

        public Criteria andPrepareIdNotBetween(String value1, String value2) {
            addCriterion("prepare_id not between", value1, value2, "prepareId");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeIsNull() {
            addCriterion("channel_error_code is null");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeIsNotNull() {
            addCriterion("channel_error_code is not null");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeEqualTo(String value) {
            addCriterion("channel_error_code =", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeNotEqualTo(String value) {
            addCriterion("channel_error_code <>", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeGreaterThan(String value) {
            addCriterion("channel_error_code >", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("channel_error_code >=", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeLessThan(String value) {
            addCriterion("channel_error_code <", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeLessThanOrEqualTo(String value) {
            addCriterion("channel_error_code <=", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeLike(String value) {
            addCriterion("channel_error_code like", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeNotLike(String value) {
            addCriterion("channel_error_code not like", value, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeIn(List<String> values) {
            addCriterion("channel_error_code in", values, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeNotIn(List<String> values) {
            addCriterion("channel_error_code not in", values, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeBetween(String value1, String value2) {
            addCriterion("channel_error_code between", value1, value2, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorCodeNotBetween(String value1, String value2) {
            addCriterion("channel_error_code not between", value1, value2, "channelErrorCode");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageIsNull() {
            addCriterion("channel_error_message is null");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageIsNotNull() {
            addCriterion("channel_error_message is not null");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageEqualTo(String value) {
            addCriterion("channel_error_message =", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageNotEqualTo(String value) {
            addCriterion("channel_error_message <>", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageGreaterThan(String value) {
            addCriterion("channel_error_message >", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageGreaterThanOrEqualTo(String value) {
            addCriterion("channel_error_message >=", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageLessThan(String value) {
            addCriterion("channel_error_message <", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageLessThanOrEqualTo(String value) {
            addCriterion("channel_error_message <=", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageLike(String value) {
            addCriterion("channel_error_message like", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageNotLike(String value) {
            addCriterion("channel_error_message not like", value, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageIn(List<String> values) {
            addCriterion("channel_error_message in", values, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageNotIn(List<String> values) {
            addCriterion("channel_error_message not in", values, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageBetween(String value1, String value2) {
            addCriterion("channel_error_message between", value1, value2, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andChannelErrorMessageNotBetween(String value1, String value2) {
            addCriterion("channel_error_message not between", value1, value2, "channelErrorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIsNull() {
            addCriterion("error_code is null");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIsNotNull() {
            addCriterion("error_code is not null");
            return (Criteria) this;
        }

        public Criteria andErrorCodeEqualTo(String value) {
            addCriterion("error_code =", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotEqualTo(String value) {
            addCriterion("error_code <>", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeGreaterThan(String value) {
            addCriterion("error_code >", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("error_code >=", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLessThan(String value) {
            addCriterion("error_code <", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLessThanOrEqualTo(String value) {
            addCriterion("error_code <=", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeLike(String value) {
            addCriterion("error_code like", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotLike(String value) {
            addCriterion("error_code not like", value, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeIn(List<String> values) {
            addCriterion("error_code in", values, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotIn(List<String> values) {
            addCriterion("error_code not in", values, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeBetween(String value1, String value2) {
            addCriterion("error_code between", value1, value2, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorCodeNotBetween(String value1, String value2) {
            addCriterion("error_code not between", value1, value2, "errorCode");
            return (Criteria) this;
        }

        public Criteria andErrorMessageIsNull() {
            addCriterion("error_message is null");
            return (Criteria) this;
        }

        public Criteria andErrorMessageIsNotNull() {
            addCriterion("error_message is not null");
            return (Criteria) this;
        }

        public Criteria andErrorMessageEqualTo(String value) {
            addCriterion("error_message =", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotEqualTo(String value) {
            addCriterion("error_message <>", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageGreaterThan(String value) {
            addCriterion("error_message >", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageGreaterThanOrEqualTo(String value) {
            addCriterion("error_message >=", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageLessThan(String value) {
            addCriterion("error_message <", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageLessThanOrEqualTo(String value) {
            addCriterion("error_message <=", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageLike(String value) {
            addCriterion("error_message like", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotLike(String value) {
            addCriterion("error_message not like", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageIn(List<String> values) {
            addCriterion("error_message in", values, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotIn(List<String> values) {
            addCriterion("error_message not in", values, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageBetween(String value1, String value2) {
            addCriterion("error_message between", value1, value2, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotBetween(String value1, String value2) {
            addCriterion("error_message not between", value1, value2, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}